package com.gtq.uhome.service;

import com.gtq.uhome.vo.OrderBasicInformation;

import java.util.List;
import java.util.Map;

/**
 * @author ylhy
 * @Describe
 * @create 2020-08-08 15:36
 */
public interface DeliveryPortOrderService {

    /**
     *  待取货订单列表
     * @param staffId
     * @return
     */
    List<OrderBasicInformation> pickUpOrderList(Integer staffId);

    /**
     * 确认取货
     * @param orderId
     * @return
     */
    Integer confirmReceipt(String orderId, Integer userId, String consigneeName);

    /**
     * 待送货列表
     * @param staffId
     * @return
     */
    List<OrderBasicInformation> waitSendOrderList(Integer staffId);

    /**
     * 确认签收
     * @return
     */
    Integer confirmSign(Map<String, Object> map);

    List<OrderBasicInformation> okOrderList(Integer staffId);

    /**
     * 查询失败订单列表
     * @param staffId
     * @return
     */
    List<OrderBasicInformation> failedOrderList(String staffId);

    /**
     * 派送员退回操作
     * @param orderId
     * @return
     */
    Integer returnOrder(String orderId, Integer userId, String consigneeName);
}
